package com.shared.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * (PAddress)实体类
 *
 * @author makejava
 * @since 2020-06-16 19:57:11
 */
@ApiModel(value = "PAddress", description = "收货地址")
public class PAddress implements Serializable {
    private static final long serialVersionUID = 139800202943934160L;

    @ApiModelProperty(value = "[自动增长]收货地址主键")
    private Object id;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "[必填]用户id")
    private Integer userid;
    /**
     * 收货人
     */
    @ApiModelProperty(value = "[必填]收货人姓名")
    private String consignee;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "[必填]收货人手机号")
    private String phone;
    /**
     * 所在地区
     */
    @ApiModelProperty(value = "[必填]收货人所在地区")
    private String area;
    /**
     * 详细地址
     */
    @ApiModelProperty(value = "[必填]收货人所在详细地址")
    private String address;
    /**
     * 门牌号
     */
    @ApiModelProperty(value = "[必填]收货人门牌号")
    private Integer num;
    /**
     * 是否设为默认地址；0-》否；1->是
     */
    @ApiModelProperty(value = "[必填]是否为默认地址：0、否，1、是")
    private Integer state;


    public Object getId() {
        return id;
    }

    public void setId(Object id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

}